import React, { Component } from 'react'
import logo from './logo512.png'
import { Link } from 'react-router-dom'
import './login.css'

export default class Login extends Component {
  render() {
    return (
      <div className="container1">
        <div className="loginBox">
          <div className="img">
            <img src={logo} alt="" />
          </div>
          <form>
            用户名：
            <input type="text" placeholder="账号" />
            <br />
            密 &nbsp;&nbsp;码：
            <input type="text" placeholder="密码" />
            <button type="primary">登录</button>
          </form>

          <div className="about-login">
            <a href="#">忘记密码</a>
            <Link to="/register">没有账号？去注册</Link>
          </div>
        </div>
      </div>
    )
  }
}
